package com.jctrip.hotel.source.model.elong.req.offline;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * @Author: zxy
 * @CreateTime: 2023-10-19 11:55
 * @Description:
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@Builder
public class ElongQueryShardIdReq {
    @JsonProperty("LastTime")
    @ApiModelProperty(value = "最后的更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastTime;

    @JsonProperty("IncrType")
    @ApiModelProperty(value = "增量类型", required = true)
    private String incrType;

    @JsonProperty("ShardingKey")
    private Integer shardingKey;
}
